#ifndef TRIANGLE_H
#define TRIANGLE_H

#include "Figure.h"

class Triangle : public Figure
{
    // vector 'data' keeps: coordinates of 3 angles(x, y), angle of turn(ang)

public:
    Triangle(std::vector<double> &_data);

    virtual void setData(std::vector<double> &_data);
    virtual std::vector<double> getData();

    virtual std::pair<double, double> getCentrePoint();

    virtual void extension(double coefficient);
    virtual void shift(double coefficient1, double coefficient2);
    virtual void turn(double angle);

    FigureType type();

    ~Triangle();
};

#endif // TRIANGLE_H
